<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/static/commons.css"/>
    <link rel="stylesheet" href="/static/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
    <style>
        label{
            width: 100px;
            text-align: right;
        }
    </style>


</head>
{#<body>#}
{#    <form class="form-horizontal" action="/firstblood/login/">#}
{#      <div class="form-group">#}
{#        <label for="inputEmail3" class="col-sm-2 control-label">Email</label>#}
{#        <div class="col-sm-10">#}
{#          <input type="email" class="form-control" id="inputEmail3" placeholder="Email">#}
{#        </div>#}
{#      </div>#}
{#      <div class="form-group">#}
{#        <label for="inputPassword3" class="col-sm-2 control-label">Password</label>#}
{#        <div class="col-sm-10">#}
{#          <input type="password" class="form-control" id="inputPassword3" placeholder="Password">#}
{#        </div>#}
{#      </div>#}
{#      <div class="form-group">#}
{#        <div class="col-sm-offset-2 col-sm-10">#}
{#          <div class="checkbox">#}
{#            <label>#}
{#              <input type="checkbox"> Remember me#}
{#            </label>#}
{#          </div>#}
{#        </div>#}
{#      </div>#}
{#      <div class="form-group">#}
{#        <div class="col-sm-offset-2 col-sm-10">#}
{#          <button type="submit" class="btn btn-default">Sign in</button>#}
{#        </div>#}
{#      </div>#}
{#    </form>#}
{#</body>#}
<body>
    <form action="/firstblood/login/" method="post">
        <p>
            <label>用户名：</label>
            <input type="text" name="user"/>
        </p>
        <p>
            <label>密码：</label>
            <input type="password" name="pwd" />
        </p>
        <span style="color: red">{{error_message}}</span>
        <input type="submit" value="提交"/>
    </form>
    <script src="/static/jquery-1.12.4.js"></script>
    <script src="/static/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
</body>
</html>